import request from '@/utils/request'

// 查询菜品图片信息展示列表
export function listDish2(query) {
  return request({
    url: '/project/dish2/list',
    method: 'get',
    params: query
  })
}

// 查询菜品图片信息展示详细
export function getDish2(did) {
  return request({
    url: '/project/dish2/' + did,
    method: 'get'
  })
}

// 新增菜品图片信息展示
export function addDish2(data) {
  return request({
    url: '/project/dish2',
    method: 'post',
    data: data
  })
}

// 修改菜品图片信息展示
export function updateDish2(data) {
  return request({
    url: '/project/dish2',
    method: 'put',
    data: data
  })
}

// 删除菜品图片信息展示
export function delDish2(did) {
  return request({
    url: '/project/dish2/' + did,
    method: 'delete'
  })
}
// 删除菜品图片信息展示
export function judge() {
  return request({
    url: '/index' ,
    method: 'get'
  })
}
